package com.tongji.housediy.view.components
{
	import com.tongji.housediy.utils.ConstVariableInventory;
	import com.tongji.housediy.utils.DragDropManager;
	import com.tongji.housediy.vo.Goods;
	
	import flash.display.BitmapData;
	import flash.display.CapsStyle;
	import flash.display.GraphicsPath;
	import flash.display.GraphicsPathCommand;
	import flash.display.GraphicsSolidFill;
	import flash.display.GraphicsStroke;
	import flash.display.IGraphicsData;
	import flash.display.JointStyle;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.geom.Matrix;
	
	import mx.core.UIComponent;
	import mx.events.DragEvent;
	import mx.managers.DragManager;
	
	/**
	 * 
	 * @author BoZhang
	 * 
	 */
	public class NormalDoor extends AbstractBorderChild
	{
		private var graphicsData:Vector.<IGraphicsData>;
		private var stroke:GraphicsStroke;
		private var commands:Vector.<int>;
		
		private var wireFrameData:Vector.<Number>  = new Vector.<Number>();
		private var wireFrameGraphicsData:Vector.<IGraphicsData>;
		private var wireFrameStroke:GraphicsStroke;
		private var wireFrameCommands:Vector.<int>;
		
		public function NormalDoor(newLength:Number, map:BitmapData, hostGoods:Goods)
		{
			super(newLength , hostGoods, map);		
			this.dragType = "doorFormat";
		}
		
		override public function clone():AbstractBorderChild
		{
			var newChild:NormalDoor = new NormalDoor(this.length, this.map.clone(), this.hostGoods);
			newChild.selectedColorID = this.selectedColorID;
			newChild.selectedSizeID = this.selectedSizeID;
			return newChild;
		}
		
		override protected function draw():void
		{
			
		}
	}
}